package com.quartz.core.repository;

import com.quartz.core.entity.ScheduleEntity;
import com.quartz.core.pageplugin.Pagination;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/11/15.
 */
public interface ScheduleRepository {
    int insert(ScheduleEntity scheduleEntity);

    List<ScheduleEntity> listPage(@Param("pagination") Pagination pagination, @Param("scheduleEntity") ScheduleEntity scheduleEntity);
}
